package org.edu.modules.portal.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@TableName("ve_site_book")
@ApiModel(value = "VeSiteBookReplyVO对象", description = "在线留言回复")
public class VeSiteBookReplyVO implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;
    @ApiModelProperty("回复内容")
    private String replycontent;
    @ApiModelProperty("回复用户ID")
    private Integer replyuserid;
    @ApiModelProperty("回复用户姓名")
    private String replyusername;
    @ApiModelProperty("回复时间")
    private Integer replytime;

    public org.edu.modules.portal.vo.VeSiteBookReplyVO setId(Integer id) {
        this.id = id;
        return this;
    }

    public org.edu.modules.portal.vo.VeSiteBookReplyVO setReplycontent(String replycontent) {
        this.replycontent = replycontent;
        return this;
    }

    public org.edu.modules.portal.vo.VeSiteBookReplyVO setReplyuserid(Integer replyuserid) {
        this.replyuserid = replyuserid;
        return this;
    }

    public org.edu.modules.portal.vo.VeSiteBookReplyVO setReplyusername(String replyusername) {
        this.replyusername = replyusername;
        return this;
    }

    public org.edu.modules.portal.vo.VeSiteBookReplyVO setReplytime(Integer replytime) {
        this.replytime = replytime;
        return this;
    }

    public String toString() {
        return "VeSiteBookReplyVO(id=" + getId() + ", replycontent=" + getReplycontent() + ", replyuserid=" + getReplyuserid() + ", replyusername=" + getReplyusername() + ", replytime=" + getReplytime() + ")";
    }


    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof org.edu.modules.portal.vo.VeSiteBookReplyVO)) return false;
        org.edu.modules.portal.vo.VeSiteBookReplyVO other = (org.edu.modules.portal.vo.VeSiteBookReplyVO) o;
        if (!other.canEqual(this)) return false;
        Object this$id = getId(), other$id = other.getId();
        if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id)) return false;
        Object this$replyuserid = getReplyuserid(), other$replyuserid = other.getReplyuserid();
        if ((this$replyuserid == null) ? (other$replyuserid != null) : !this$replyuserid.equals(other$replyuserid))
            return false;
        Object this$replytime = getReplytime(), other$replytime = other.getReplytime();
        if ((this$replytime == null) ? (other$replytime != null) : !this$replytime.equals(other$replytime))
            return false;
        Object this$replycontent = getReplycontent(), other$replycontent = other.getReplycontent();
        if ((this$replycontent == null) ? (other$replycontent != null) : !this$replycontent.equals(other$replycontent))
            return false;
        Object this$replyusername = getReplyusername(), other$replyusername = other.getReplyusername();
        return !((this$replyusername == null) ? (other$replyusername != null) : !this$replyusername.equals(other$replyusername));
    }

    protected boolean canEqual(Object other) {
        return other instanceof org.edu.modules.portal.vo.VeSiteBookReplyVO;
    }

    public int hashCode() {
        int PRIME = 59;
        Integer result = 1;
        Object $id = getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        Object $replyuserid = getReplyuserid();
        result = result * 59 + (($replyuserid == null) ? 43 : $replyuserid.hashCode());
        Object $replytime = getReplytime();
        result = result * 59 + (($replytime == null) ? 43 : $replytime.hashCode());
        Object $replycontent = getReplycontent();
        result = result * 59 + (($replycontent == null) ? 43 : $replycontent.hashCode());
        Object $replyusername = getReplyusername();
        return result * 59 + (($replyusername == null) ? 43 : $replyusername.hashCode());
    }


    public Integer getId() {
        /* 36 */
        return this.id;
    }

    public String getReplycontent() {
        /* 38 */
        return this.replycontent;
    }

    public Integer getReplyuserid() {
        return this.replyuserid;
    }

    public String getReplyusername() {
        /* 44 */
        return this.replyusername;
    }

    public Integer getReplytime() {
        /* 47 */
        return this.replytime;
    }
}



